import { ModuleWithProviders } from "@angular/core"
import { Routes, RouterModule } from '@angular/router';


export const routes: Routes = [
  {
    path: 'car-running',
    loadChildren: 'app/+system-config/+car-running/car-running.module#CarRunningModule'
  }, {
    path: 'data-audit',
    loadChildren: 'app/+system-config/+data-audit/data-audit.module#DataAuditModule',
  }, {
    path: 'data-optimization',
    loadChildren: 'app/+system-config/+data-optimization/data-optimization.module#DataOptimizationModule',
  }, {
    path: 'firmware-management',
    loadChildren: 'app/+system-config/+firmware-management/firmware-management.module#FirmwareManagementModule',
  }, {
    path: 'firmware-management/firmware-management-upload',
    loadChildren: 'app/+system-config/+firmware-management-upload/firmware-upload.module#FirmwareUploadModule',
  }, {
    path: 'firmware-operation',
    loadChildren: 'app/+system-config/+firmware-operation/firmware-operation.module#FirmwareOperationModule',
  }, {
    path: 'firmware-operation/firmware-page',
    loadChildren: 'app/+system-config/+firmware-operation-page/firmware-page.module#FirmwareOperationPageModule',
  }, {
    path: 'path-correction',
    loadChildren: 'app/+system-config/+path-correction/path-correction.module#PathCorrectionModule',
  }, {
    path: 'path-fix',
    loadChildren: 'app/+system-config/+path-fix/path-fix.module#PathFixModule'
  }, {
    path: 'path-fix2',
    loadChildren: 'app/+system-config/+path-fix2/path-fix2.module#PathFix2Module'
  }, {
    path: 'path-fix3',
    loadChildren: 'app/+system-config/+path-fix3/path-fix3.module#PathFix3Module'
  }, {
    path: 'scheduling',
    loadChildren: 'app/+system-config/+scheduling/scheduling.module#SchedulingModule',
  }, {
    path: 'scheduling/scheduling-page',
    loadChildren: 'app/+system-config/+scheduling-page/scheduling-page.module#SchedulingPageModule',
  }, {
    path: 'scheduling/scheduling-config',
    loadChildren: 'app/+system-config/+scheduling-config/scheduling-config.module#SchedulingConfigModule',
  }, {
    path: 'sensor',
    loadChildren: 'app/+system-config/+sensor/sensor.module#SensorModule',
  }, {
    path: 'weight-fix',
    loadChildren: 'app/+system-config/+weight-fix/weight-fix.module#WeightFixModule',
  }, {
    path: 'applets',
    loadChildren: 'app/+system-config/+applets/applets.module#AppletsModule',
  }, {
    path: 'deploy',
    loadChildren: 'app/+system-config/+deploy/deploy.module#DeployModule',
  }, {
    path: 'limit-entry',
    loadChildren: 'app/+system-config/+limit-entry/limit-entry.module#LimitEntryModule',
  }, {
    path: 'app-version-deploy',
    loadChildren: 'app/+system-config/+app-version-deploy/app-version-deploy.module#AppVersionDeployModule',
  }, {
    path: 'sensor-deploy',
    loadChildren: 'app/+system-config/+sensor-deploy/sensor-deploy.module#SensorDeployModule',
  }, {
    path: 'factory-config',
    loadChildren: 'app/+system-config/+factory-config/factory-config.module#FactoryConfigModule',
  }, {
    path: 'administrative-divisions',
    loadChildren: 'app/+system-config/+administrative-divisions/administrative-divisions.module#AdministrativeDivisionsModule',
  }, {
    path: 'flow-control-deploy',
    loadChildren: 'app/+system-config/+flow-control-deploy/flow-control-deploy.module#FlowControlDeployModule',
  }
];

export const routing = RouterModule.forChild(routes);
